package com.rednose.videoplayer.controller;

import com.rednose.videoplayer.Dao.UserDao;

import android.content.Context;

public class RegisterController {
    private UserDao userDao;

    public RegisterController(Context context) {
        userDao = new UserDao(context);
    }

    public boolean register(String username, String passwordHash) {
        return userDao.addUser(username, passwordHash);
    }
}
